WebberZone\Top_Ten\Frontend\REST_API S

Total Complexity 40
Dependencies 8
Dependents 1
Total lines 424
Lines of code 234
Logical lines of code 84
Comment lines 134
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
check_read_permission()
A
53 10 23
get_counter()
S
52 6 24
get_item()
S
56 5 17
get_items()
S
58 5 15
register_routes()
S
46 1 47
check_is_post_type_allowed()
S
65 4 9
get_counter_params()
S
51 1 30
update_post_count()
S
58 2 14
get_tracker_params()
S
54 1 25
prepare_item()
S
66 2 7
get_items_params()
S
60 1 14
__construct()
S
71 1 6
permissions_check()
S
79 1 3